const dayjs = require('dayjs');

// 20200122
const result1 = dayjs('20200122', 'YYYY-MM-HH').format();
console.log(result1);

